package com.ruoyi.web.controller.information;

import com.ruoyi.system.domain.dto.InformationDto;
import com.ruoyi.system.service.IHouseService;
import com.ruoyi.system.service.InformationService;
import com.ruoyi.system.service.impl.InformationServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.Map;

@RestController
@RequestMapping("/house/message")
public class informationController {
    @Autowired
    private InformationService informationService;
    @PostMapping("/list")
    public Map list(@RequestBody InformationDto informationDto){
        return informationService.informationList(informationDto);
    }
}
